package com.example.book.util;

import com.github.pagehelper.PageInfo;

import java.util.List;

public class BookStoreUtils {

    public static <T> PageInfo getPageInfo(List<T> list,int navigatePages){
        return new PageInfo(list,navigatePages);

    }

}
